<template>
  <div>
    <h1>
      <el-switch
        v-model="value1"
        active-text="按月付费"
        inactive-text="按年付费"
      >
      </el-switch>
      <el-switch
        style="display: block"
        v-model="value2"
        active-color="#13ce66"
        inactive-color="#ff4949"
        active-text="按月付费"
        inactive-text="按年付费"
      >
      </el-switch>
    </h1>
  </div>
</template>

<script>
export default {
  data() {
    return {
      value1: false,
      value2: true,
    }
  },
}
</script>

<style></style>
